package com.bf.electroplating.pojo.vo.home;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 企业废水类型树VO
 * 
 * @author system
 * @since 2025-01-11
 */
@Data
@Schema(description = "企业废水类型树VO")
public class CompanyWastewaterTreeVO {

    @Schema(description = "节点ID")
    private String id;

    @Schema(description = "节点名称")
    private String name;

    @Schema(description = "节点类型：company-企业，wastewater-废水类型")
    private String type;

    @Schema(description = "父节点ID")
    private String parentId;

    @Schema(description = "企业ID")
    private String companyId;

    @Schema(description = "企业名称")
    private String companyName;

    @Schema(description = "废水类型代码")
    private String wastewaterTypeCode;

    @Schema(description = "废水类型名称")
    private String wastewaterTypeName;

    @Schema(description = "配置ID")
    private String configId;

    @Schema(description = "是否监控六价铬")
    private String monitorHexavalentChromium;

    @Schema(description = "是否监控总铬")
    private String monitorTotalChromium;

    @Schema(description = "是否监控总镍")
    private String monitorTotalNickel;

    @Schema(description = "子节点列表")
    private List<CompanyWastewaterTreeVO> children;

    @Schema(description = "是否展开")
    private Boolean expanded = false;

    @Schema(description = "是否叶子节点")
    private Boolean leaf = false;
}
